﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using zkdao.Domain;
using zkdao.Enum;

namespace zkdao.Application {

    [ServiceContract(Namespace = "www.zkdao.com")]
    public interface ITagService {
        [OperationContract]
        TagData Get(Guid ID);
        [OperationContract]
        TagData GetByName(string name);
        [OperationContract]
        IList<TagData> GetList();
        [OperationContract]
        IList<TagData> GetListByGroup(eTagGroup group);
        [OperationContract]
        TagData Creat(TagData dataObject);
        [OperationContract]
        void Update(TagData dataObject);
    }
}